/************************************************************************************
**                                                                                 **
**                               mcHF QRP Transceiver                              **
**                             K Atanassov - M0NKA 2014                            **
**                                                                                 **
**---------------------------------------------------------------------------------**
**                                                                                 **
**  File name:                                                                     **
**  Description:                                                                   **
**  Last Modified:                                                                 **
**  Licence:		For radio amateurs experimentation, non-commercial use only!   **
************************************************************************************/

#ifndef __FIR_3_6K_H
#define __FIR_3_6K_H

/**************************************************************
WinFilter version 0.8
http://www.winfilter.20m.com
akundert@hotmail.com

Filter type: Low Pass
Filter model: Raised Cosine
Roll Off Factor: 0.500000
Sampling Frequency: 48 KHz
Cut Frequency: 3.600000 KHz
Coefficents Quantization: float
***************************************************************/
/*
const float Fir3p6k[] =
{
		 0.00081453499271201123,
		        0.00057850280033394056,
		        0.00022161691547898369,
		        -0.00000003189861792975,
		        0.00018908271692504838,
		        0.00093627473345748405,
		        0.00211961256337390170,
		        0.00328105380994909900,
		        0.00368941656048077470,
		        0.00255092844167583140,
		        -0.00066933841061655552,
		        -0.00590491352964717630,
		        -0.01224515425555462700,
		        -0.01790650429025262100,
		        -0.02048321349207813200,
		        -0.01746222733901376900,
		        -0.00689748492563840510,
		        0.01193007242686815700,
		        0.03806312753399056200,
		        0.06878905910544046200,
		        0.10000114513684132000,
		        0.12694958155876870000,
		        0.14521730877477412000,
		        0.15168197724593041000,
		        0.14521730877477412000,
		        0.12694958155876870000,
		        0.10000114513684132000,
		        0.06878905910544046200,
		        0.03806312753399056200,
		        0.01193007242686815700,
		        -0.00689748492563840510,
		        -0.01746222733901376900,
		        -0.02048321349207813200,
		        -0.01790650429025262100,
		        -0.01224515425555462700,
		        -0.00590491352964717630,
		        -0.00066933841061655552,
		        0.00255092844167583140,
		        0.00368941656048077470,
		        0.00328105380994909900,
		        0.00211961256337390170,
		        0.00093627473345748405,
		        0.00018908271692504838,
		        -0.00000003189861792975,
		        0.00022161691547898369,
		        0.00057850280033394056,
		        0.00081453499271201123,
		        0.00079312289476705944
};
*/
//
// Least Pth Norm. Lowpass, 47th order, 3600Hz Fco, 5100Hz Fstop, Wpass=1, Wstop=75
// Approx. 2dB ripple, >=55dB atten above Fstop
// (Yes, there are 48 elements in this filter!)
//
const float Fir3p6k[] =
{
		  -0.002665863992891,-0.005782057235419, -0.01063868824607, -0.01668595222492,
		   -0.02306611599489, -0.02846086131069, -0.03153231670753, -0.03084197089129,
		   -0.02571117111629, -0.01627555282784, -0.00373260977621,  0.00965922221874,
		    0.02121676277224,  0.02823667123879,  0.02861155100813,  0.02170086295112,
		   0.008518632650203,-0.008324584462218,  -0.0249029911831, -0.03714913493578,
		   -0.04141819270967, -0.03578693879887, -0.02053101758313, 0.001891193864264,
		    0.02691699791534,  0.04900483694651,  0.06284948464482,  0.06428041627356,
		    0.05147931301193,  0.02535556201239, -0.01082521425528, -0.05172412816912,
		   -0.09139407755707,  -0.1241812513052,  -0.1458483403534,  -0.1543485892637,
		    -0.1497603413178,  -0.1342406445313,  -0.1114128455902, -0.08528837307977,
		   -0.05965065539888, -0.03741659636581, -0.02016538506096,-0.008460630978592,
		  -0.001685975116928,  0.00133812405538, 0.001956617494027, 0.001999789168546
};

#endif
